package com.wom.blocks;

import java.awt.Graphics;



import java.awt.Color;
import com.wom.blockfeatures.BlockRenderer;
import com.wom.blockfeatures.BreakableBlock;


public class TreeBlock extends AbstractBlock {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	public BreakableBlock breakable;
	
	
	public BlockRenderer renderble;
	



	public TreeBlock(int xPos, int yPos) {
		super(xPos, yPos);
		
		
		int[] tileId={4,0};
		setId(tileId);
		setName("Tree");
		
		setColor(new Color(255,100,100));
		renderble=new BlockRenderer();
		breakable=new BreakableBlock(300, 5);

		
		
	}


	@Override
	public void renderBlock(Graphics g) {
		
		renderble.renderBlock(this, g);
		//renderble.renderBlockFrame(this, g, Color.BLACK);
		
		
	}


	@Override
	public void updateBlock() {
		
		
		
	}
	
	
	


	
	





	


}

